home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ARASAN_S.ZIP
/
BHASH.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-17
|
556b
|
29 lines
// Copyright 1992 by Jon Dart. All Rights Reserved.
#ifndef _BOARD_HASH_H
#define _BOARD_HASH_H
#include "board.h"
#include "emove.h"
#include "hash.h"
class Board_Hash
{
public:
static void free();
static unsigned long HashCode( const Board &ABoard );
static unsigned long HashCode2( const Board & b);
// another hash code, more or less uncorrelated with HashCode
static void UpdateHash( const Board &ABoard,
const ExtendedMove &emove,
const unsigned long OldHash, unsigned long &NewHash);
};
#endif